/*!
 * @file turtle_command_client.cpp
 * @brief 
 * @author FanKaiyu
 * @version 0.0.1
 * @date 2022-03-17
 */
#include <ros/ros.h>
#include <std_srvs/Trigger.h>

int main(int argc, char** argv) {
    ros::init(argc,argv,"turtle_command_client");
    ros::NodeHandle n;

    ros::service::waitForService("/turtle_command");
    ros::ServiceClient command = n.serviceClient<std_srvs::Trigger>("/turtle_command");

    std_srvs::Trigger trigger;
    command.call(trigger);
    
    return 0;
}